package com.tz.system.user.model;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name = "t_mgt_user")
public class TMgtUser implements java.io.Serializable {
	private Integer id;
	private String userId;
	private String userName;
	private String userPassword;
	private String oldUserPassword;
	private String passwordTime;
	private String bindedIp;
	private String userStatus;
	private String userPhone;
	private String userEmail;
	private String lastLoginTime;

	private String creator;
	private Long createTime;
	private String mender;
	private Long mendTime;
	private String remark;

	public TMgtUser() {
	}


	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "USER_ID")
	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}


	@Column(name = "USER_NAME")
	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Column(name = "USER_PASSWORD")
	public String getUserPassword() {
		return this.userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	@Column(name = "OLD_USER_PASSWORD")
	public String getOldUserPassword() {
		return this.oldUserPassword;
	}

	public void setOldUserPassword(String oldUserPassword) {
		this.oldUserPassword = oldUserPassword;
	}

	@Column(name = "PASSWORD_TIME")
	public String getPasswordTime() {
		return this.passwordTime;
	}

	public void setPasswordTime(String passwordTime) {
		this.passwordTime = passwordTime;
	}

	@Column(name = "BINDED_IP")
	public String getBindedIp() {
		return this.bindedIp;
	}

	public void setBindedIp(String bindedIp) {
		this.bindedIp = bindedIp;
	}

	@Column(name = "USER_STATUS")
	public String getUserStatus() {
		return this.userStatus;
	}

	public void setUserStatus(String userStatus) {
		this.userStatus = userStatus;
	}

	@Column(name = "USER_PHONE")
	public String getUserPhone() {
		return this.userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	@Column(name = "USER_EMAIL")
	public String getUserEmail() {
		return this.userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	@Column(name = "LAST_LOGIN_TIME")
	public String getLastLoginTime() {
		return this.lastLoginTime;
	}

	public void setLastLoginTime(String lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	@Column(name = "CREATOR")
	public String getCreator() {
		return this.creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	@Column(name = "CREATE_TIME")
	public Long getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	@Column(name = "MENDER")
	public String getMender() {
		return this.mender;
	}

	public void setMender(String mender) {
		this.mender = mender;
	}

	@Column(name = "MEND_TIME")
	public Long getMendTime() {
		return this.mendTime;
	}

	public void setMendTime(Long mendTime) {
		this.mendTime = mendTime;
	}

	@Column(name = "REMARK")
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
